package service.employee.interfaces;

import java.rmi.RemoteException;

import service.article.exceptions.ProxyException;
import employee.entities.EmployeeVO;
import employee.exceptions.IncompleteEmployeeException;

public interface EmployeeProxyMgt {

	EmployeeVO[] getEmployees() throws RemoteException, ProxyException;

	EmployeeVO getEmployee(int id) throws RemoteException, ProxyException;

	void update(EmployeeVO emp) throws RemoteException, ProxyException,
			IncompleteEmployeeException;

	void delete(int id) throws RemoteException, ProxyException;

	void add(EmployeeVO emp) throws RemoteException, ProxyException,
			IncompleteEmployeeException;

	boolean authenticate(EmployeeVO emp, String pass) throws RemoteException,
			ProxyException, IncompleteEmployeeException;
}
